//


import UIKit

class WP_PrivacyViewController: WP_BasicViewController,UITableViewDelegate,UITableViewDataSource {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = UIColorFromHex(0xFFFAF0)
        // Do any additional setup after loading the view.
        setNavTitle("Privacy protocol")
        self.view.addSubview(pTableView)
    }
    
    lazy var pTableView:UITableView = {
        let tableview = UITableView(frame: CGRect(x: 0, y: 0, width: kScreenWidth, height: kScreenHeight), style: .plain)
        tableview.delegate = self
        tableview.dataSource = self
        tableview.tableFooterView = UIView()
        tableview .register(UITableViewCell.classForCoder(), forCellReuseIdentifier:"cell")
        tableview.rowHeight = kRatioHeight(1600)
        return tableview
        
    }()

    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return 1
    }
    
    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell:UITableViewCell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)
        cell.textLabel?.text = "WorkPlan respects and protects the privacy of all users of services. In order to provide you with more accurate and personalized services, WorkPlan will use and disclose your personal information in accordance with the provisions of this privacy policy. But WorkPlan will treat this information with a high degree of diligence and prudence. Except as otherwise provided in this privacy policy, WorkPlan will not disclose or provide such information to third parties without your prior permission. WorkPlan will update this privacy policy from time to time. When you agree to the WorkPlan Service Use Agreement, you are deemed to have agreed to the full content of this Privacy Policy. This privacy policy is an integral part of the WorkPlan Service Usage Protocol.\n Scope of application You understand and agree that the following information does not apply to this privacy policy: The keyword information you enter when using the search service provided by WorkPlan platform; Violation of the law or the application rules and the measures taken by the application to you.\n Information use\nThis application does not collect personal data information, nor does it allow any third party to collect, edit, sell or distribute your personal information free of charge. If any user of this application platform engages in the above activities, the application has the right to terminate the service agreement with that user immediately upon discovery.\n information disclosure \n In the following cases, this application will collect and disclose your personal information temporarily according to your personal wishes or the requirements of the law in whole or in part:\n Disclosure to third parties or administrative or judicial bodies in accordance with the relevant provisions of the law or the requirements of administrative or judicial bodies;\n If you violate the relevant laws and regulations of China or this application service agreement or related rules, you need to disclose them to a third party.\n If you are a qualified intellectual property complaint and have lodged a complaint, you should disclose it to the respondent at the request of the respondent so that both parties can handle possible rights disputes. Other disclosures considered appropriate by the application in accordance with laws, regulations or website policies. Data Storage and Exchange Data is stored only in local databases.\n Notification and revision This application may modify the terms of this Privacy Policy as it upgrades, which forms part of this Privacy Policy. For major changes, the application will provide more significant notifications, and you may choose to stop using the application service. In such cases, if you continue to use the application service, you agree to be bound by the revised Privacy Policy.  Any change will put your satisfaction first. This application encourages you to consult the privacy policy of this application every time you use this application service.\n How to contact this application \n If you have any complaints or reports about network information security, or if you have any questions, comments or suggestions about this Privacy Policy, your information, and the privacy measures of this statement or application, please contact the coordinator of this application."
        cell.textLabel?.numberOfLines = 0
        cell.accessoryType = .disclosureIndicator
        
        return cell
    }
   
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
